package com.yc.vote.service.impl;

import com.yc.vote.dao.IBaseDao;
import com.yc.vote.dao.impl.BaseDaoImpl;
import com.yc.vote.service.ITopicItemService;

public class ITopicItemServiceImpl implements ITopicItemService{

	@Override
	public int update(String[] inos) {
		if(inos == null || inos.length <= 0) {
			return -1;
		}
		
		IBaseDao baseDao = new BaseDaoImpl();
		return baseDao.update("TopicItemMapper.update", inos);
	}
	
}
